﻿//
//  Copyright (c) 2011 Extreme: Paweł Huryn (lead), Jakub Domański
//

using System;

namespace Extreme.SPFramework.DomainModel
{
    /// <summary>
    /// Sharepoint lookup reference
    /// </summary>
    [Serializable]
    public class LookUpItem
    {
        public LookUpItem(int id)
        {
            LookupId = id;
        }

        /// <summary>
        /// Internal or test use only!
        /// </summary>
        public LookUpItem(int id, string value)
        {
            LookupId = id;
            LookupValue = value;
        }

        public string LookupValue
        {
            get;
            private set;
        }

        public int LookupId
        {
            get;
            private set;
        }
    }
}
